import React from 'react';
import {
	Link,
	Router,
	hashHistory,
	Route
} from 'react-router';
import {
	BackTop
} from 'antd';
import Top from './Views/Top.jsx';
import Sider from './Views/Sider.jsx';
import Content from './Views/Content.jsx';

import './App.less';

const App = React.createClass({
    render: function(){
        return (
            <div>
				<Top />
                <div className="main-container">
                    <Router history={hashHistory}>
                        <Route path="/**" component={Sider}/>
                    </Router>
                    <div className="main-content">
                        <Content />
                    </div>
                </div>
                <BackTop />
            </div>
        );
    },
})

export default App;
